<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/17
 * Time: 14:03
 */

namespace app\index\model;


use think\Model;

class ShopFoods extends Model
{

    protected $table = "duck_shop_foods";

    public function getStartTimeAttr($value){
        return date('Y-m-d H:m',$value);
    }

    public function getEndTimeAttr($value){
        return date('Y-m-d H:m',$value);
    }

}